home *** CD-ROM | disk | FTP | other *** search
- VERSION 4.00
- Begin VB.Form frmLegend
- Appearance = 0 'Flat
- BackColor = &H00C0C0C0&
- BorderStyle = 3 'Fixed Dialog
- Caption = "Node parameters"
- ClientHeight = 2535
- ClientLeft = 1170
- ClientTop = 1830
- ClientWidth = 6825
- BeginProperty Font
- name = "MS Sans Serif"
- charset = 1
- weight = 700
- size = 8.25
- underline = 0 'False
- italic = 0 'False
- strikethrough = 0 'False
- EndProperty
- ForeColor = &H80000008&
- Height = 2940
- Left = 1110
- LinkTopic = "Form5"
- ScaleHeight = 2535
- ScaleWidth = 6825
- Top = 1485
- Width = 6945
- Begin VB.ComboBox ComboAutoSize
- Height = 300
- ItemData = "LEGEND.frx":0000
- Left = 2220
- List = "LEGEND.frx":000D
- Style = 2 'Dropdown List
- TabIndex = 2
- Top = 1020
- Width = 3135
- End
- Begin VB.ComboBox ComboAlignment
- Height = 300
- ItemData = "LEGEND.frx":005C
- Left = 2220
- List = "LEGEND.frx":007B
- Style = 2 'Dropdown List
- TabIndex = 1
- Top = 600
- Width = 3135
- End
- Begin VB.Frame Frame1
- Appearance = 0 'Flat
- BackColor = &H00C0C0C0&
- Caption = "Node picture"
- BeginProperty Font
- name = "MS Sans Serif"
- charset = 1
- weight = 400
- size = 9.75
- underline = -1 'True
- italic = 0 'False
- strikethrough = 0 'False
- EndProperty
- ForeColor = &H80000008&
- Height = 855
- Left = 240
- TabIndex = 7
- Top = 1560
- Width = 6375
- Begin VB.OptionButton Option1
- Appearance = 0 'Flat
- BackColor = &H00C0C0C0&
- Caption = "Rectangle"
- ForeColor = &H80000008&
- Height = 315
- Index = 0
- Left = 240
- TabIndex = 3
- Top = 360
- Width = 1365
- End
- Begin VB.OptionButton Option1
- Appearance = 0 'Flat
- BackColor = &H00C0C0C0&
- Caption = "Octogon"
- ForeColor = &H80000008&
- Height = 315
- Index = 1
- Left = 1800
- TabIndex = 10
- TabStop = 0 'False
- Top = 360
- Width = 1365
- End
- Begin VB.OptionButton Option1
- Appearance = 0 'Flat
- BackColor = &H00C0C0C0&
- Caption = "Diamond"
- ForeColor = &H80000008&
- Height = 315
- Index = 2
- Left = 3360
- TabIndex = 9
- TabStop = 0 'False
- Top = 360
- Width = 1365
- End
- Begin VB.OptionButton Option1
- Appearance = 0 'Flat
- BackColor = &H00C0C0C0&
- Caption = "Circle"
- ForeColor = &H80000008&
- Height = 315
- Index = 3
- Left = 4860
- TabIndex = 8
- TabStop = 0 'False
- Top = 360
- Width = 1365
- End
- End
- Begin VB.TextBox Text1
- Appearance = 0 'Flat
- Height = 345
- Left = 2220
- TabIndex = 0
- Top = 180
- Width = 3135
- End
- Begin VB.CommandButton Command1
- Appearance = 0 'Flat
- BackColor = &H80000005&
- Caption = "&Ok"
- Default = -1 'True
- Height = 405
- Left = 5640
- TabIndex = 4
- Top = 180
- Width = 955
- End
- Begin VB.CommandButton Command2
- Appearance = 0 'Flat
- BackColor = &H80000005&
- Caption = "&Cancel"
- Height = 405
- Left = 5640
- TabIndex = 5
- Top = 600
- Width = 955
- End
- Begin VB.Label Label2
- Alignment = 1 'Right Justify
- Caption = "Node AutoSize:"
- BeginProperty Font
- name = "MS Sans Serif"
- charset = 1
- weight = 400
- size = 9.75
- underline = -1 'True
- italic = 0 'False
- strikethrough = 0 'False
- EndProperty
- Height = 240
- Left = 120
- TabIndex = 12
- Top = 1020
- Width = 1995
- End
- Begin VB.Label Label3
- Alignment = 1 'Right Justify
- Caption = "Node Text Alignment:"
- BeginProperty Font
- name = "MS Sans Serif"
- charset = 1
- weight = 400
- size = 9.75
- underline = -1 'True
- italic = 0 'False
- strikethrough = 0 'False
- EndProperty
- Height = 240
- Left = 120
- TabIndex = 11
- Top = 600
- Width = 2000
- End
- Begin VB.Label Label1
- Alignment = 1 'Right Justify
- Appearance = 0 'Flat
- BackColor = &H00C0C0C0&
- Caption = "Node text:"
- BeginProperty Font
- name = "MS Sans Serif"
- charset = 1
- weight = 400
- size = 9.75
- underline = -1 'True
- italic = 0 'False
- strikethrough = 0 'False
- EndProperty
- ForeColor = &H80000008&
- Height = 240
- Left = 120
- TabIndex = 6
- Top = 240
- Width = 2000
- End
- Attribute VB_Name = "frmLegend"
- Attribute VB_Creatable = False
- Attribute VB_Exposed = False
- Private Sub Command1_Click()
- Legend = Text1.Text
- AutoSize = ComboAutoSize.ListIndex
- AlignMent = ComboAlignment.ListIndex
- Ok = True
- Unload Me
- End Sub
- Private Sub Command2_Click()
- Unload Me
- Ok = False
- End Sub
- Private Sub Form_Load()
- Text1.Text = Legend
- option1(Picnum).Value = True
- ComboAutoSize.ListIndex = AutoSize
- ComboAlignment.ListIndex = AlignMent
- End Sub
- Private Sub Option1_Click(Index As Integer)
- Picnum = Index
- End Sub
-